//
//  OrderGoodsInfoModel.m
//  JiuLe
//
//  Created by SunChao on 16/10/25.
//  Copyright © 2016年 Fine. All rights reserved.
//

#import "OrderGoodsInfoModel.h"

@implementation OrderGoodsInfoModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        self.score=dict[@"score"];
        self.expressinfo=dict[@"expressinfo"];
        self.exchange_amout=dict[@"exchange_amout"];
        self.payinfo=dict[@"payinfo"];
        self.addressinfo =dict[@"addressinfo"];
        self.goodinfo = dict[@"goodinfo"];
        self.standardinfo = dict[@"standardinfo"];
    }
    return self;
}
+(instancetype) appWithDict:(NSDictionary *)dict{
    
    // 为何使用self，谁调用self方法 self就会指向谁！！
    return [[self alloc] initWithDict:dict];
    
}
@end
